from learn_oop.webdriver import WebDriver

driver = WebDriver()
driver.get("http://www.baidu.com")
driver.find_element_by_xpath("//*[@id='account']/a/input")
title = driver.title
url = driver.current_url
print("当前的标题是: %s；当前的URL是: %s " % (title, url))

